<template>
  <div>
      <el-dialog title="查看流程图" :visible.sync="dialogTableVisible" @close="close" width="900px">
        <el-image :src="src"></el-image>
        <div slot="footer" class="dialog-footer">
            <el-button @click="close">取 消</el-button>
            <el-button type="primary" @click="close">确 定</el-button>
        </div>
    </el-dialog>

        
  </div>
</template>

<script>
import {approveImg} from '@/api/purchase/approve'

export default {
    props:['info'],
    data(){
        return{
            dialogTableVisible:true,
            src:null
        }
    },
    created(){
        
        this.src=this.baseUrl()+`/process/read-resource?pProcessInstanceId=${this.info.instanceId}`
        
    },
    methods:{
        
        close(){
            this.$emit('change')
        },
        
    }
}
</script>

<style>

</style>